export function Obsolete(message: string) {
    return (target: any, propertyName: string, descriptor: TypedPropertyDescriptor<Function>) => {
        console.warn("过期的方法【" + descriptor.value.name + "】", message);
    }
} 